﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using TanWeb.Models.Entities.Infrastructure;

namespace TanWeb.Models.Entities
{
    [Table("SubItemGroup")]
    public class SubItemGroup : Entity
    {
        [MaxLength(8)]
        [Column("GroupId", Order = 1)]
        public int GroupId { set; get; }

        [MaxLength(150)]
        [Column("SubGroupName", Order = 2)]
        public string SubGroupName { set; get; }

        [MaxLength(1)]
        [Column("del_flg", Order = 3)]
        public int del_flg { set; get; }
    }
}